﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <!-- para que funcione con IE -->
    <title>Megasoft - Login</title>
    <!-- Plantillas de estilos -->
    <link rel="stylesheet" href="css/base.css">
    <link rel="stylesheet" href="css/skeleton.css">
    <link rel="stylesheet" href="css/layout.css">
</head>
<body>
    <!-- Panel principal -->
    <div class="container">
        <div class="cuadro">
            <form id="form1" runat="server">
            <h2>
                MegaSoft - Login</h2>
            <p align="center">
                <asp:Label ID="LUsu" runat="server" Text="Usuario"></asp:Label>
            </p>
            <p>
                <asp:TextBox ID="TextBox3" runat="server" AutoCompleteType="DisplayName" MaxLength="20"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="TextBox3" ErrorMessage="Ingrese un usuario"></asp:RequiredFieldValidator>
            </p>
            <p align="center">
                <asp:Label ID="LCla" runat="server" Text="Clave"></asp:Label>
            </p>
            <p>
                <asp:TextBox ID="TextBox4" runat="server" MaxLength="20" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="TextBox4" ErrorMessage="Ingrese una contraseña"></asp:RequiredFieldValidator>
            </p>
            <p>
                <asp:Label ID="Label1" runat="server" ForeColor="Red" Text="Clave incorrecta" 
                    Visible="False"></asp:Label>
            </p>
            <p align="right">
                <asp:Button ID="Button1" runat="server" Text="Ingresar" 
                    onclick="Button1_Click" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </form>
        </div>
    </div>
    <!-- Java Scrips  -->

    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>

    <script>window.jQuery || document.write("<script src='js/jquery-1.5.1.min.js'>\x3C/script>")</script>

    <script src="js/app.js"></script>

</body>
</html>